package io;

public class ExceptionApiDemo {
    public static void main(String[] args) {
        try{
            String str = "abc";
            int d = Integer.parseInt(str);
            System.out.println(d);
        }catch (NumberFormatException e ){
            e.printStackTrace();
        }
    }
}
